<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



class Report extends AppModel{
    
    var $name="Report";
    
     function  getreports(){
         $menus=array();
         
         
     
        $menu_array=$this->find("all");
        foreach($menu_array as $val){
            $menus[$val['Report']['category']][]=$val['Report'];
            
        }
         
        return $menus;
     }
    
}
?>
